package cn.edu.xhu.library_management.book.entity.dto;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

/**
 * @Author: MMJ
 * @Date: 2023 - 05 - 02
 * @Description: 图书借阅/预约传输类
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class BookRecordDTO {
    private Integer record_id; // 预约Id
    private Integer borrow_id; // 借阅Id
    /**
     * 图书id
     */
    private Long id;

    /**
     * 书名
     */
    private String boName;

    /**
     * 图片地址
     */
    private String boImage;


    /**
     * 作者
     */
    private String boAuthor;



    /**
     * 库存
     */
    private Integer boStock;



}
